Skip to content

Add generate-job-summary input to control CI job summary generation - #93

Merged
mw-kapilg merged 11 commits into
mainfrom
kapilg/opt-out
May 27, 2026
Merged

Add generate-job-summary input to control CI job summary generation#93
mw-kapilg merged 11 commits into
mainfrom
kapilg/opt-out

Conversation

@mw-kapilg

Copy link
Copy Markdown
Contributor

Summary

  • Add generate-summary boolean input (defaults to true) allowing users to disable job summary generation
  • Pass MW_GENERATE_SUMMARY environment variable to MATLAB so the TestResultsSummaryPluginService can skip artifact
    creation when disabled
  • Skip code coverage results JSON artifact generation in CodeCoverageSummaryPluginService when MW_GENERATE_SUMMARY env var is false, allowing the caller action to disable job summary entirely
  • Pass GITHUB_ACTION to processAndAddTestSummary so each action step only reads its own test result artifacts

Usage

- uses: matlab-actions/run-tests@v3
  with:
      generate-summary: false

Comment thread .github/workflows/bat.yml Outdated
Comment thread src/index.ts Outdated
Comment thread .github/workflows/bat.yml
@mw-kapilg
mw-kapilg merged commit 6cb0163 into main May 27, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants